const conditions = {
    days: {
      7: "七天内",
      14: "两周内",
      30: "一月内",
      90: "三个月内",
    },
    priority: {
      Normal: "一般",
      Important: "重要",
      Crucial: "至关重要",
    },
    finished: { true: "已完成", false: "未完成" },
  },
  rules = {
    title: [
      {
        required: true,
        message: "请输入待办标题",
        trigger: "blur",
      },
      {
        max: 100,
        message: "最多不能超过100个字符",
        trigger: "blur",
      },
    ],
    sketch: [
      {
        max: 255,
        message: "最多不能超过255个字符",
        trigger: "blur",
      },
    ],
    priority: [
      {
        required: true,
        message: "请选择该待办的优先级",
        trigger: "blur",
      },
    ],
  },
  newTodo = {
    title: "",
    sketch: "",
    // description: "",
    priority: "Normal",
  };

export { conditions, rules, newTodo };
